<?php

namespace app\api\validate;

use think\Validate;

class Exchange extends Validate
{
    protected $rule = [
        ['id',         'require|number|>:0',                      '请先选择兑换套餐|请先选择兑换套餐|请先选择兑换套餐'],
    ];

    protected $scene = [
        'index'         => ['id'],
    ];
}
